home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / dviware / dvitovdu / unix / c / screenio.h < prev    next >
C/C++ Source or Header  |  1990-10-01  |  1KB  |  38 lines

  1. /* Original Author:         Andrew Trevorrow
  2.    Implementation: Modula-2 under VAX/UNIX 4.2 BSD
  3.    Date Started:   June, 1986
  4.  
  5.    Description:
  6.    These terminal i/o routines are highly system-dependent and have been
  7.    designed for DVItoVDU and its auxiliary modules.
  8.  
  9.    Notes:
  10.  - The implementation block saves the current tty characteristics,
  11.    then sets the mode to cbreak with no echo.
  12.    Clients should therefore call RestoreTerminal before terminating.
  13.  - WriteBuffer or WriteLn must be called to explicitly update the terminal
  14.    (e.g., just before a read) or to synchronize output with writes
  15.    from other modules that don't use ScreenIO.
  16.  
  17.    This version converted to C and ported to BSD and System V UNIX by
  18.    some chaps at Kernel Technology up to September 1989.  Contact
  19.    mjh@uk.co.kernel (Mark J. Hewitt) with bug fixes etc.
  20.  
  21.    Involved were:    Mark J. Hewitt
  22.                Dave Dixon
  23.             Marc Hadley
  24. */
  25.  
  26. static char *sccsid_screen[] = "@(#)screenio.h    1.1";
  27.  
  28. extern void Read();
  29. extern void ReadString();
  30. extern short BusyRead();
  31. extern void Write();
  32. extern void WriteString();
  33. extern void WriteInt();
  34. extern void WriteCard();
  35. extern void WriteLn();
  36. extern void WriteBuffer();
  37. extern void RestoreTerminal();
  38.